<!--
 * @Author: your name
 * @Date: 2022-04-18 10:37:57
 * @LastEditTime: 2022-04-18 12:38:03
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \算法测试\day0906\4.18.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let obj = {};
        function fn() {
            
        }
        console.log(Object.prototype);
        console.log(String.prototype);
        let str = '';
        console.log(Function.prototype.isha = function () {
            console.log(123);
        });
        console.log(fn.isha());
        fn.__proto__.ish = function () {
            console.log(789);
            return 88888
        }
        console.log(fn.ish());
        function Person() {
            
        }
        let p1 = new Person();
        console.log(p1.prototype);
        console.log(p1.__proto__.__proto__);
        console.log(1 !== 1 && 3 === 2 || 1 && 3 ); 
        console.log((1===1 && 3) === 2 || 1 && 3 ); 
        console.log(((1===1 && 3) === 2) || 1 || 3 === 2); 
        console.log((((1===1 && 3) === 2) || 1 === 2) && 3 ); //3
    </script>
</body>
</html>